import { defineStore } from "pinia"
 
export const userInfo  = defineStore('main',()=>{
    const counter = ref(30); //state
    const gettersCounter = computed(()=>{
        return counter.value+5;
    })

    function addCounter(){
        counter.value++;
    }
})